﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<Hotnet.Web.Utility.SelectControl>" %>

<% int id= Model.PageControlID; %>
<input type="button" value="<%=Model.ButtonValue %>" onclick="sc_showWindow('<%=id %>','<%=Model.Title %>');" />
<div id="window<%=id %>" style=" display:none;">
	<%=Html.CheckBoxRadioGroup("window" + id, Model.List, Model.SelectedValues, 4, null,Model.ElementInterval??"100px",Model.ControlType,Model.ExtendAttributes)%>
	<div style="text-align:center; margin-top:10px;">
		<input type="button" value="确定" class="ml3 boxy-button" onclick="sc_calculateResult(<%=id %>,<%=Model.CallbackScriptFunction??"''" %>,'<%=Model.ControlType.ToString() %>');" />
		<input type="button" value="关闭" class="ml3 boxy-button" onclick="sc_closeWindow();" />
	</div>
</div>
